package com.xian.cloud.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: xlr
 * @Date: Created in 下午10:28 2018/10/28
 */
@TableName("sys_user")
@Data
public class UserEntity extends Model<UserEntity> {

    @TableId
    private Long id;

    private String userName;

    private String passWord;

    private String email;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
